package com.wyhello.tube4.pojo;

import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

public class Reside {
	//主键ID
	private int id;
	//归属名称
	private String name;
	//级别
	private int level;
	//是否页节点
	private boolean leaf;
	//描述
	private String description;
	//图纸ID
	private Draw draw;
	//锅炉编号
	private String boilerNum;
	//所包含的管
	private Set<Tube> tubes = new HashSet<Tube>();
	//运行记录
	private Set<Working> workings = new HashSet<Working>();
	//父reside
	private Reside reside;
	//子reside
	private Set<Reside> resides = new TreeSet<Reside>();
	//包含记录次数包
	private Set<Bag> bags = new HashSet<Bag>();
	//布置图片,2012-11-3日加入
	private String assignImagePath;
	//简介图片,2012-11-3日加入
	private String descImagePath;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Draw getDraw() {
		return draw;
	}
	public void setDraw(Draw draw) {
		this.draw = draw;
	}
	public String getBoilerNum() {
		return boilerNum;
	}
	public void setBoilerNum(String boilerNum) {
		this.boilerNum = boilerNum;
	}
	public Set<Tube> getTubes() {
		return tubes;
	}
	public void setTubes(Set<Tube> tubes) {
		this.tubes = tubes;
	}
	public Set<Working> getWorkings() {
		return workings;
	}
	public void setWorkings(Set<Working> workings) {
		this.workings = workings;
	}
	public Reside getReside() {
		return reside;
	}
	public void setReside(Reside reside) {
		this.reside = reside;
	}
	public Set<Reside> getResides() {
		return resides;
	}
	public void setResides(Set<Reside> resides) {
		this.resides = resides;
	}
	public Set<Bag> getBags() {
		return bags;
	}
	public void setBags(Set<Bag> bags) {
		this.bags = bags;
	}
	public String getAssignImagePath() {
		return assignImagePath;
	}
	public void setAssignImagePath(String assignImagePath) {
		this.assignImagePath = assignImagePath;
	}
	public String getDescImagePath() {
		return descImagePath;
	}
	public void setDescImagePath(String descImagePath) {
		this.descImagePath = descImagePath;
	}
	
}
